<?xml version="1.0" encoding="utf-8"?>
<WITD application="Work item type editor" version="1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/typedef">
	<WORKITEMTYPE xmlns="" name="Sprint Retrospective">
		<DESCRIPTION>An item that describes feedback about a Sprint</DESCRIPTION>
		<FIELDS>
			<FIELD name="Iteration Path" refname="System.IterationPath" type="TreePath">
				<HELPTEXT>Choose an appropriate Release and/or Sprint</HELPTEXT>
			</FIELD>
      <FIELD name="Assigned To" refname="System.AssignedTo" type="String" reportable="dimension" syncnamechanges="true">
        <ALLOWEDVALUES expanditems="true" filteritems="excludegroups">
          <LISTITEM value="[project]\Project Administrators" />
          <LISTITEM value="[project]\Contributors" />
        </ALLOWEDVALUES>
      </FIELD>
      <FIELD name="History Date (Scrum v3)" refname="Scrum.v3.HistoryDate" type="DateTime" reportable="dimension">
				<COPY from="clock" />
				<DEFAULT from="clock" />
			</FIELD>
			<FIELD name="Description" refname="System.Description" type="PlainText">
				<HELPTEXT>Detailed description of the Retrospective Item</HELPTEXT>
			</FIELD>
			<FIELD name="History" refname="System.History" type="History">
				<HELPTEXT>Discussion thread and other historical information including fields that have changed, by whom and when.</HELPTEXT>
			</FIELD>
			<FIELD name="Area Path" refname="System.AreaPath" type="TreePath" reportable="dimension">
				<HELPTEXT>The AreaPath can be used to categorise or theme a Retrospective Item</HELPTEXT>
			</FIELD>
			<FIELD name="ID" refname="System.Id" type="Integer">
				<HELPTEXT>Human readable, auto-populated numeric Id</HELPTEXT>
			</FIELD>
		</FIELDS>
		<WORKFLOW>
			<STATES>
				<STATE value="Active" />
			</STATES>
			<TRANSITIONS>
				<TRANSITION from="" to="Active">
					<REASONS>
						<DEFAULTREASON value="New" />
					</REASONS>
				</TRANSITION>
			</TRANSITIONS>
		</WORKFLOW>
		<FORM>
			<Layout>
				<Group>
					<Column PercentWidth="100">
						<Control FieldName="System.IterationPath" Type="WorkItemClassificationControl" Label="Sprint" LabelPosition="Left" />
					</Column>
				</Group>
				<TabGroup Margin="(0,10,0,0)">
					<Tab Label="Retrospective">
						<Control FieldName="System.Description" Type="HtmlFieldControl" Label="What went well? What didn't go well?  What we can do better?" LabelPosition="Top" Dock="Fill" />
					</Tab>
					<Tab Label="History">
						<Control FieldName="System.History" Type="WorkItemLogControl" Label="History:" LabelPosition="Top" Dock="Fill" />
					</Tab>
          <Tab Label="All Links">
            <Control Type="LinksControl" Name="OtherLinks">
              <LinksControlOptions>
                <LinkColumns>
                  <LinkColumn RefName="System.ID" />
                  <LinkColumn RefName="System.Links.LinkType" />
                  <LinkColumn RefName="System.WorkItemType" />
                  <LinkColumn RefName="System.Title" />
                  <LinkColumn RefName="System.AssignedTo" />
                  <LinkColumn RefName="System.State" />
                  <LinkColumn LinkAttribute="System.Links.Comment" />
                </LinkColumns>
              </LinksControlOptions>
            </Control>
          </Tab>
          <Tab Label="File Attachments">
						<Control Type="AttachmentsControl" LabelPosition="Top" />
					</Tab>
          <Tab Label="Process Guidance">
            <Control Type="WebpageControl" LabelPosition="Top" Dock="Fill">
              <WebpageControlOptions AllowScript="false">
                <Link UrlRoot="http://www.scrumforteamsystem.com/" UrlPath="/processguidance/v3/{0}/{1}" >
                  <Param Index="0" Value="System.WorkItemType" Type="Current" />
                  <Param Index="1" Value="System.State" Type="Current"/>
                </Link>
              </WebpageControlOptions>
            </Control>
          </Tab>
        </TabGroup>
			</Layout>
		</FORM>
	</WORKITEMTYPE>
</WITD>